package com.karaoke.android.kege.databinding;

import android.view.View;

import com.karaoke.android.data.domain.Singer;
import com.karaoke.android.kege.ResetHwBoardEvent;
import com.karaoke.android.kege.ShowSingerDetailEvent;

import org.simple.eventbus.EventBus;

/**
 * Created by allen on 2017/4/20.
 */

public class Listeners {
    public static void singerItemOnClick(View view, Singer singer) {
        EventBus.getDefault().post(new ShowSingerDetailEvent(view, singer));
    }

    public static void cleanHwBoard() {
        EventBus.getDefault().post(new ResetHwBoardEvent());
    }
}
